import request from '@/utils/request'

export function getDetail(params) {
  return request({
    url: `/admin/get-order-detail`,
    method: 'get',
    params: params
  })
}

export function fetchList(params) {
  return request({
    url: `/admin/get-order-list`,
    method: 'get',
    params: params
  })
}

export function remarkOrder(data) {
  return request({
    url: `/admin/remark-order`,
    method: 'post',
    data
  })
}

export function deliveryOrder(data) {
  return request({
    url: `/admin/delivery-order`,
    method: 'post',
    data
  })
}
